package com.mhc.haval.api.service;

import com.mhc.haval.api.dto.WorkflowDTO;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by HMJ on 2017/8/24.
 */
@FeignClient("HAVAL")
@RequestMapping("/feign/WorkFlowConfigService")
public interface WorkFlowConfigService {

    /**
     * 根据员工所属部门ID查找所属流程
     **/
    @RequestMapping(value = {"/selectWorkFlow"}, method = {RequestMethod.GET})
    WorkflowDTO selectWorkFlow(@RequestParam("companyNo") String companyNo,@RequestParam("applyType") int applyType);

}
